"use strict";
var https = require('https');
/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller, io } = app;



  router.get('/v1/test/device', controller.device.test)
  router.post('/v1/test/recognition', controller.device.recognition)
  router.get('/v1/test/getrlife', controller.device.rlife)    // 获取电机剩余寿命
  router.get('/v1/test/getVibrateData', controller.device.getVibrateData)    // 获取振动数据
};
